-
Notifications
You must be signed in to change notification settings - Fork 219
feat(payments-next): Cancellation flow: Create page - Interstitial Offer #19859
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
8bf0325 to
fb7e902
Compare
ec5a467 to
b54e666
Compare
| reason: 'eligible', | ||
| cmsCancelInterstitialOfferResult, | ||
| }; | ||
| //*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will remove the changes made to this file after done testing.
51b2ee2 to
15ba109
Compare
apps/payments/next/app/[locale]/subscriptions/[subscriptionId]/offer/page.tsx
Outdated
Show resolved
Hide resolved
apps/payments/next/app/[locale]/subscriptions/[subscriptionId]/offer/page.tsx
Outdated
Show resolved
Hide resolved
apps/payments/next/app/[locale]/subscriptions/[subscriptionId]/offer/page.tsx
Outdated
Show resolved
Hide resolved
apps/payments/next/app/[locale]/subscriptions/[subscriptionId]/offer/page.tsx
Outdated
Show resolved
Hide resolved
apps/payments/next/app/[locale]/subscriptions/[subscriptionId]/offer/page.tsx
Outdated
Show resolved
Hide resolved
apps/payments/next/app/[locale]/subscriptions/[subscriptionId]/offer/page.tsx
Outdated
Show resolved
Hide resolved
apps/payments/next/app/[locale]/subscriptions/[subscriptionId]/offer/page.tsx
Outdated
Show resolved
Hide resolved
apps/payments/next/app/[locale]/subscriptions/[subscriptionId]/offer/page.tsx
Outdated
Show resolved
Hide resolved
apps/payments/next/app/[locale]/subscriptions/[subscriptionId]/offer/page.tsx
Outdated
Show resolved
Hide resolved
apps/payments/next/app/[locale]/subscriptions/[subscriptionId]/offer/page.tsx
Outdated
Show resolved
Hide resolved
apps/payments/next/app/[locale]/subscriptions/[subscriptionId]/offer/page.tsx
Outdated
Show resolved
Hide resolved
e898c7d to
35baab7
Compare
5016935 to
4fb6ac4
Compare
Because: * We need a cancel interstitial offer page as part of the churn intervention epic. This commit: * Creates /[locale]/subscriptions/[subscription_id]/offer page Closes #PAY-3371
4fb6ac4 to
c162981
Compare
| locale | ||
| ); | ||
| } catch (error) { | ||
| redirect(`/${locale}/subscriptions/${subscriptionId}/cancel`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/${locale}/subscriptions/${subscriptionId}/offer/error
| } | ||
|
|
||
| if (!interstitialOfferContent.isEligible || !interstitialOfferContent.pageContent) { | ||
| redirect(`/${locale}/subscriptions/${subscriptionId}/offer/error`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/${locale}/subscriptions/${subscriptionId}/offer/error
Because
This pull request
Issue that this pull request solves
Closes: #PAY-3371
Checklist
Put an
xin the boxes that applyScreenshots (Optional)
Please attach the screenshots of the changes made in case of change in user interface.

Other information (Optional)
Any other information that is important to this pull request.